package tugou

import (
	//	"tugou/logs"
	"tugou/web"
)

func (this *Gate) OnInit(c *web.Context) bool { //初始化
	return true
}
func (this *Gate) OnEnable() { //可以使用的

}
func (this *Gate) OnShut(fromInfo SessionInfo, sign string) { //关闭

}
func (this *Gate) OnDisconnect() { //网关客户断网了

}
func (this *Gate) OnAddDynamic(who SessionDynamic) { //添加动态模块
	this.AddDynamic(who)

}
func (this *Gate) OnRemoveDynamic(who SessionInfo) { //移除动态模块
	this.RemoveDynamic(who)
}
func (this *Gate) OnAddFix(who SessionFix) { //添加固定模块
	this.AddFix(who)
}
func (this *Gate) OnRemoveFix(who SessionInfo) { //移除固定模块
	this.RemoveFix(who)
}
